|
Chipmunk2D is a 2-dimensional real-time rigid body physics engine written by Scott Lembcke that is designed to be portable, lightweight, fast, and easy to use.〔(Chipmunk2d update reduced CPU hits for sleeping items )〕 Prior to version 7, two main versions of the library existed. ''Chipmunk2D Free'' was written purely in C99, and freely available under the terms of the MIT License. ''Chipmunk2D Pro'' was a proprietary upgrade designed for development on mobile devices. It included several high-level subroutines in Objective-C, and floating-point optimizations for the ARM processor.〔(【引用サイトリンク】title=Chipmunk2D Physics Pro )〕 However, after version 7 the project was fully open-sourced. Aside from Objective-C, there are official bindings for Ruby, and third party interfaces exist for Python,〔(Pymunk at pyweek.org )〕 Haskell,〔(Hipmunk: A Haskell binding for Chipmunk )〕 OCaml,〔(ocaml-chipmunk )〕 and others.〔(Bindings and Ports )〕 Chipmunk is endorsed by a number of game libraries, including (Aerosol ), Gosu, and Cocos2d.〔(Cocos2d )〕 ==Features== Chipmunk supports multiple collision primitives attached to one rigid body, and bodies may be joined by constraints. It has a flexible collision detection system with layers, exclusion groups and collision callbacks. Callbacks are defined based on user definable "collision types" and may reject collisions and even override the calculation of friction and elasticity coefficients. Version 7 of the library introduced "Autogeometry", an image tracing feature that transforms a raster graphic into a polygonal shape usable by the library. This feature is currently only available in the Objective-C version of the library. Chipmunk has been widely used on the iPhone, Mac/Windows/Linux, and other platforms, including Nintendo Wii and Sony PSP.〔("Chipmunk Physics ported to the PSP" )〕 抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)』 ■ウィキペディアで「Chipmunk (software)」の詳細全文を読む スポンサード リンク
|